require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') # the default rails helper
require File.dirname(__FILE__) + '/mocks/time'
require File.dirname(__FILE__) + '/mocks/mail'
require File.expand_path(File.join(File.dirname(__FILE__), '../init.rb'))

ENV['RAILS_ENV'] ||= 'test'

# include authenticated system in all controllers
ActionController::Base.send :include, Account::AuthenticatedSystem

# set up the fixtures location
Test::Unit::TestCase.fixture_path = File.dirname(__FILE__)  + "/fixtures/"
$LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)

module Account
    class User < ActiveRecord::Base
        include Account::AccountModel
    end  
end